<html>
<head><title>Ex16</title></head>
<body>
<p>Check Weather..</p>
<button onclick="myFunction()">Try it!</button>
<p id="demo"></p>

<script>
	function myFunction()
	{
		txt1="Today is ";
		txt2="sunny.";
		txt3=txt1+txt2;
		document.getElementById("demo").innerHTML=txt3;
	}
</script>

</body>

</html>